package com.ta.gulimall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ta.gulimall.common.utils.system.PageUtils;
import com.ta.gulimall.coupon.entity.SpuBoundsEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品spu积分设置
 *
 * @author tuao
 * @email tuaoo@gmail.com
 * @date 2022-12-04 16:25:02
 */
public interface SpuBoundsService extends IService<SpuBoundsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据spuId查询积分
     * @param skuIds
     * @return
     */
    Map<Long, SpuBoundsEntity> listSpuBoundBySkuIds(List<Long> skuIds);
}

